import java.util.Scanner;

public class Task05 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入4位会员号");
        int mid=sc.nextInt();
        Task05 t=new Task05();
        String result=t.member(mid);
        System.out.println(result);
    }
    public  String member(int mid) {
        int ran=(int)(Math.random()*10);
        if (mid / 100 % 10 ==ran) {
            return"是幸运会员";
        }else{
            return"不是幸运会员";
        }
    }
}
